package cn.jingyinghui.testlambda;

@FunctionalInterface
public interface AnimalInter {

    public void eat() ;

    public static void drink(){
        System.out.println("drink");
    } ;

    default public void sleep() {
        System.out.println("sleep");
    };

    default public void sleep2() {
        System.out.println("sleep");
    };
}
